export async function sleepAsync(ms: number, noSleep: boolean = false) {
  if (!noSleep) {
    await new Promise((resolve) => setTimeout(resolve, ms));
  }
}

export function isNullOrEmpty(value: string) {
  return value == null || value == '' || value == undefined;
}
